package cn.car91.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * 维修店详情
 *
 * @author 周海刚
 * @Date 2014-9-25
 */
public class RepairShopDetail implements Serializable {
    private int rdid;
    private String desc;    //简介
    private Integer rank = 0;    //等级，默认无等级即未认证
    private Integer grade = 50;    //评分，默认中等评分，满分100
    private String address;    //地址
    private String position;    //地址坐标
    private String license;    //营业执照图片
    private String phone;    //联系方式
    private String cartype;    //维修车型，多车型时以","分隔
    private String worktime;    //工作时间
    private String feature;    //特色
    private Integer sgrade; //服务等级，例如4S等级为四
    private Integer spread; //推广指数
    private Integer repairgrade;//维修类型

    //评价
    private Float attitude;
    private Float charge;
    private Float environment;
    private Float technology;
    private Float hardware;

    //拥有硬件设备
    private Set<Hardware> hardwares = new HashSet<Hardware>();
    //拥有技术
    private Set<Technology> technologies = new HashSet<Technology>();
    //拥有服务
    private Set<Service> services = new HashSet<Service>();
    //拥有资质
    private Set<Qualification> qualifications = new HashSet<Qualification>();

    public int getRdid() {
        return rdid;
    }

    public void setRdid(int rdid) {
        this.rdid = rdid;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public String getWorktime() {
        return worktime;
    }

    public void setWorktime(String worktime) {
        this.worktime = worktime;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public Float getAttitude() {
        return attitude;
    }

    public void setAttitude(Float attitude) {
        this.attitude = attitude;
    }

    public Float getCharge() {
        return charge;
    }

    public void setCharge(Float charge) {
        this.charge = charge;
    }

    public Float getEnvironment() {
        return environment;
    }

    public void setEnvironment(Float environment) {
        this.environment = environment;
    }

    public Float getTechnology() {
        return technology;
    }

    public void setTechnology(Float technology) {
        this.technology = technology;
    }

    public Float getHardware() {
        return hardware;
    }

    public void setHardware(Float hardware) {
        this.hardware = hardware;
    }

    public Set<Hardware> getHardwares() {
        return hardwares;
    }

    public void setHardwares(Set<Hardware> hardwares) {
        this.hardwares = hardwares;
    }

    public Set<Technology> getTechnologies() {
        return technologies;
    }

    public void setTechnologies(Set<Technology> technologies) {
        this.technologies = technologies;
    }

    public Set<Service> getServices() {
        return services;
    }

    public void setServices(Set<Service> services) {
        this.services = services;
    }

    public Set<Qualification> getQualifications() {
        return qualifications;
    }

    public void setQualifications(Set<Qualification> qualifications) {
        this.qualifications = qualifications;
    }
    
    public Integer getSgrade() {
      return sgrade;
    }

    public void setSgrade(Integer sgrade) {
      this.sgrade = sgrade;
    }

    public Integer getSpread() {
      return spread;
    }

    public void setSpread(Integer spread) {
      this.spread = spread;
    }

    public Integer getRepairgrade() {
      return repairgrade;
    }

    public void setRepairgrade(Integer repairgrade) {
      this.repairgrade = repairgrade;
    }
}
